package com.shiro.demo.project.system.login.domain;

import lombok.Data;
import lombok.NonNull;

@Data
public class Permission {
    private String roleName;
    private String permission;

    public Permission(){ }
    public Permission(@NonNull String roleName,String permission){
        this(permission);
        this.roleName = roleName;
    }
    public Permission(@NonNull String permission){
        this.permission = permission;
    }
}
